package com.zimmur.dao.account;

import java.util.List;

import com.zimmur.model.account.PointLog;
import com.zimmur.model.account.PointLogParameter;

public interface IPointLogDao {
	public PointLog selectByPrimaryKey(Long recId);
	public int selectPageListCount(PointLogParameter parameter);
	public List<PointLog> selectPageListByUserId(PointLogParameter parameter);
	public int deleteByPrimaryKey(Long recId);
	public int insertSelective(PointLog log);
	/**
	 * 根据用户名,时间范围获取积分累计数
	 * @param parameter userId,startTime,endTime
	 * @return
	 */
	public Integer selectCountPointByTimeRange(PointLogParameter parameter);
}
